
FROM guochaolang/java8:1.0
#维护者信息
MAINTAINER guochaolang <3226606397@qq.com>
# 将本地文件tmp挂载到容器
VOLUME /tmp

#复制上下文目录下的build/libs/demo-1.0.0.jar 到容器里
COPY build/libs/eureka-server-client-0.0.1-SNAPSHOT.jar eureka-server-client-1.0.0.jar

#启动容器时的进程
ENTRYPOINT ["java","-jar","/eureka-server-client-1.0.0.jar"]